package com.crc.luojian.factory;

/**
 * @program: luojian-springframework
 * @description:
 * @author: luojian58
 * @create: 2021-06-10 10:46
 */
public interface BeanFactory {
    //通过name 获取对象
    Object getBean(String name);
    //通过class类型获取bean
    <T> T getBean(Class<T> type);
    // 判断是否包含
    boolean containsBean(String name);
}
